n=10; m=4; s=[4, 3, 3, 5]; pset=[{1,3,5,6},{3,5,6},{1,5,9},{4,5,6,7,9}];